<?php
    class AddressEntity
    {
        private $id;
        private $userID;
        private $name;
        private $address1;
        private $address2;
        private $address3;
        private $city;
        private $country;
        private $province;
        private $zipCode;
        private $inTime;
        private $inUser;

        function __get($name)
        {
            if (isset($this->$name)) {
                return $this->$name;
            } else {
                return(NULL);
            }
        }

        function __set($name, $value)
        {
            $this->$name = $value;
        }
    }

?>
